export interface ArticleResponse {
    userId: string;
    title: string;
    pictureUrl: string | null;
    content: string | null;
    synopsis: string | null;
    tags: string[] | null;
    viewLevel: number | null;
    fileIds: string[] | null;
    id: string;
    createTime: string;
    readCount:number;
  }

/**
 * 文章创建请求
 */
export interface ArticleCreateRequest{
  Title:string;
  Content:string;
  Synopsis:string;
  PictureUrl:string;
  ViewLevel:number;
  Tags:string[];
  FileIds:string[];
}



/**
 * 文章查询模式
 */
export enum ArticleQueryMode{
  ALL = "ALL",
  TAG = "TAG",
  EXACTTITLE = "EXACTTITLE",
  FUZZYTITLE = "FUZZYTITLE",
  AUTHORID = "AUTHORID",
  ARTICLEID = "ARTICLEID",
  AUTHORIDANDFUZZYTITLE = "AUTHORIDANDFUZZYTITLE",
  AUTHORIDANDTAG = "AUTHORIDANDTAG"
}